﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConferenceArranger.BusinessRules;


namespace ConferenceArranger.ConferenceComponent
{
    /// <summary>
    /// Break can be lunch or networking event
    /// </summary>
    class Break
    {   
        private DateTime startTime;
        private string activity;

        public Break()
        {
        }

        public DateTime GetStartTime()
        {
            return startTime;
        }

        public string GetActivity()
        {
            return activity;
        }

        public void SetStartTime(DateTime startTime)
        {
            this.startTime = startTime;
        }

        public void SetActivity(string activity)
        {
            this.activity = activity;
        }

        public string ToString()
        {
            return SessionHelper.ConvertTimeFormat(GetStartTime()) + " " + GetActivity();
            
        }

        
    }
}
